export default {
    id: "1-2",
    title: "公告",
    name: "announcement",
    ename: "announcementComponent", //中间区域，组件的名称
    icon: "iconfont icon-gonggao1",
    canDelete: true,
    fixedBottom: false, // 固定在底部，其下不能再添加组件
    active: "",
    main: {
        leftIcon: "iconfont icon-gonggao3", //左侧图标
        leftIconColor: "#565656", //左侧图标颜色
        rightIcon: "iconfont icon-anniuzujian-", //右侧图标
        rightIconColor: "#cccccc", //右侧图标颜色
        getListType: 1, //获取公告内容的方式，1从商城公告中读取，2手动添加
        getNums: 5, //从商城公告列表中获取的条数，默认5条
        list: [{
                id: 1,
                name: "这里是第1条自定义公告标题",
                linkName: "",
                linkUrl: "",
            },
            {
                id: 2,
                name: "这里是第2条自定义公告标题",
                linkName: "",
                linkUrl: "",
            },
        ],
        wordFontColor: "#565656", //文字颜色
        bgColor: "#FFFFFF", //背景颜色
        moduleBgImg: "", //背景图片
        speed: 5, //滚动速度，默认5秒/次[1-10]
        paddingTop: 0, //上间距
        paddingBottom: 0, //下间距
        paddingLR: 0, //左右间距
        borderRadiusTop: 0, //上边角
        borderRadiusBottom: 0, //下边角
        //容器样式
        wrapperBgColor: "#FFFFFF", //背景颜色
        wrapperBgImg: "", //背景图片
        wrapperPT: 0, //上间距
        wrapperPB: 0, //下间距
        wrapperPLR: 0, //左右间距
        wrapperBTR: 0, //上边角
        wrapperBBR: 0, //下边角
    },
    right: [
        {
            id: "1-2-1",
            name: "模块风格",
            direction: "column",
            open: true,
            catalog: [{
                id: "1-2-3-1",
                name: "",
                ename: "wordFontColor",
                title: "文字颜色：",
                display: "block",
                controlName: "colorComponent",
                default: "#565656",
                value: "#565656",
            },{
                id: "1-2-1-1",
                name: "",
                ename: "leftIcon",
                title: "左侧图标：",
                display: "block",
                controlName: "chooseIconComponent",
                value: "iconfont icon-gonggao3",
            },{
                id: "1-2-3-3",
                name: "",
                ename: "leftIconColor",
                title: "左侧图标颜色：",
                display: "block",
                controlName: "colorComponent",
                default: "#565656",
                value: "#565656",
            },{
                id: "1-2-3-31",
                name: "",
                ename: "rightIcon",
                title: "右侧图标：",
                display: "block",
                controlName: "chooseIconComponent",
                default: "iconfont icon-anniuzujian-",
                value: "iconfont icon-anniuzujian-",
                onlyIcon: true,
            },{
                id: "1-2-3-32",
                name: "",
                ename: "rightIconColor",
                title: "右侧图标颜色：",
                display: "block",
                controlName: "colorComponent",
                default: "#cccccc",
                value: "#cccccc",
            },],
        },
        {
            id: "1-2-3",
            name: "模块样式",
            direction: "column",
            open: true,
            catalog: [
                {
                    id: "1-2-3-2",
                    name: "",
                    ename: "bgColor",
                    title: "背景颜色：",
                    display: "block",
                    controlName: "colorComponent",
                    default: "#FFFFFF",
                    value: "#FFFFFF",
                },{
                    id: "1-2-3-21",
                    name: "",
                    ename: "moduleBgImg",
                    title: "背景图片：",
                    display: "block",
                    controlName: "chooseImageComponent",
                    default: "",
                    value: "",
                },{
                    id: "1-2-3-4",
                    title: "滚动速度：",
                    display: "block",
                    name: "",
                    ename: "speed",
                    min: 1,
                    max: 10,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 5,
                    value: 5,
                    suffix: "秒/次",
                },
                {
                    id: "1-2-3-5",
                    title: "上间距：",
                    display: "block",
                    name: "",
                    ename: "paddingTop",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-3-6",
                    title: "下间距：",
                    display: "block",
                    name: "",
                    ename: "paddingBottom",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-3-7",
                    title: "左右间距：",
                    display: "block",
                    name: "",
                    ename: "paddingLR",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-3-8",
                    title: "上边角：",
                    display: "block",
                    name: "",
                    ename: "borderRadiusTop",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-3-9",
                    title: "下边角：",
                    display: "block",
                    name: "",
                    ename: "borderRadiusBottom",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
             }],
        },{
            id: "1-2-2",
            name: "模块内容",
            direction: "column",
            open: true,
            catalog: [{
                id: "1-2-2-1",
                name: "",
                ename: "getListType",
                title: "公告内容：",
                display: "block",
                controlName: "announcementContent",
                value: 1,
                options: [{
                        id: 1,
                        name: "读取商城公告",
                        value: 1,
                        getNums: {
                            title: "读取数量：",
                            ename: "getNums", //存具体条数
                            value: 1, //默认选中项id
                            options: [{
                                    id: 1,
                                    name: "5条",
                                    value: 5,
                                },
                                {
                                    id: 2,
                                    name: "10条",
                                    value: 10,
                                },
                                {
                                    id: 3,
                                    name: "15条",
                                    value: 15,
                                },
                            ],
                        },
                    },
                    {
                        id: 2,
                        name: "手动添加",
                        value: 2,
                        addManually: {
                            ename: "list",
                            min: 1,
                            max: 50,
                            list: [{
                                    id: 1,
                                    name: "这里是第1条自定义公告标题",
                                    linkName: "",
                                    linkUrl: "",
                                },
                                {
                                    id: 2,
                                    name: "这里是第2条自定义公告标题",
                                    linkName: "",
                                    linkUrl: "",
                                },
                            ],
                        },
                    },
                ],
            }],
        },
        {
            id: "1-2-4",
            name: "容器样式",
            direction: "column",
            open: true,
            catalog: [
                {
                    id: "1-2-4-1",
                    name: "",
                    ename: "wrapperBgColor",
                    title: "背景颜色：",
                    display: "block",
                    controlName: "colorComponent",
                    default: "#FFFFFF",
                    value: "#FFFFFF",
                },
                {
                    id: "1-2-4-2",
                    name: "",
                    ename: "wrapperBgImg",
                    title: "背景图片：",
                    display: "block",
                    controlName: "chooseImageComponent",
                    default: "",
                    value: "",
                },
                {
                    id: "1-2-4-3",
                    title: "上间距：",
                    display: "block",
                    name: "",
                    ename: "wrapperPT",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-4-4",
                    title: "下间距：",
                    display: "block",
                    name: "",
                    ename: "wrapperPB",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-4-5",
                    title: "左右间距：",
                    display: "block",
                    name: "",
                    ename: "wrapperPLR",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-4-6",
                    title: "上边角：",
                    display: "block",
                    name: "",
                    ename: "wrapperBTR",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
                {
                    id: "1-2-4-7",
                    title: "下边角：",
                    display: "block",
                    name: "",
                    ename: "wrapperBBR",
                    min: 0,
                    max: 50,
                    step: 1,
                    controlName: "sliderComponent",
                    default: 0,
                    value: 0,
                    suffix: "px",
                },
            ],
        },
    ],
}